package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SmartModuleBaseInfo implements Trans<SmartModuleBaseInfo, CompleteEntity.SmartModuleBaseInfo> {

    /**
     * 发送器序号
     */
    private Integer prcIndex;

    /**
     * 网口序号
     */
    private Integer portIndex;

    /**
     * 接收卡序号
     */
    private Integer receiverIndex;

    /**
     * 串口序号
     */
    private Integer serialPortIndex;

    /**
     * 串口内的模组序号
     */
    private Integer internalSerialIndex;

    /**
     * 智慧模组是否有效
     */
    private Boolean isValid;

}

